VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UI.VisualTools Namespace / VisualTool Class / Invoke Methods / Invoke(Delegate,Object[]) Method
Syntax Requirements SeeAlso
In This Topic
    Invoke(Delegate,Object[]) Method (VisualTool)
    In This Topic
    Executes the specified delegate, on the thread that owns the VisualTool's underlying ImageViewer, with the specified list of arguments.
    Syntax
    'Declaration
    
    Protected Overloads Function Invoke( _
    ByVal method
    A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
    As System.Delegate, _
    ByVal ParamArray args
    An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.
    () As System.Object _
    ) As System.Object
    protected System.Object Invoke(
    System.Delegate method,
    params System.Object[] args
    )
    protected: System.Object Invoke(
    System.Delegate* method,
    params System.Object[]* args
    )
    protected:
    System.Object Invoke(
    System.Delegate^ method,
    ... array<System.Object>^ args
    )

    Parameters

    method
    A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
    args
    An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.

    Return Value

    The return value from the delegate being invoked, or null if the delegate has no return value.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also